//
//  importantCustomer.h
//  YIJU2.0HD
//
//  Created by 张金国 on 16/5/26.
//  Copyright © 2016年 Mr.X. All rights reserved.
//

typedef NS_ENUM(NSUInteger, MSex) {
    MMale,
    MFamale,
    MUnknow,
};
#import <Foundation/Foundation.h>

/*
 
 importantCustomer =         (
 {
 activities =                 (
 );
 appointmentInfomation =                 (
 );
 attentionedLayouts =                 (
 );
 avatar = "<null>";
 continueLoginTimes = 0;
 continueSignTimes = 0;
 lastLoginTime = "<null>";
 nickName = "宜居_testPhoneNumber6";
 occupation = "<null>";
 sex = 2;
 userId = 28;
 visitHistories =                 (
 );
 }
 )
 
 */


/*
 importantCustomer:[
 {
 “userId”:用户id(Integer),
 “avatar”:用户头像(String),
 “lastLoginTime”:上次登录时间(String),
 “nickName”:用户昵称(String),
 “sex”:性别(Integer, 0女，1男，3未设定)，
 “occupation”:职业(String),
 “AppointmentInfomation”:预约看房信息[{
 “houseNumber”：房屋编号(String),
 “name”:看房人姓名(String),
 “date”：看房日期(String),
 “phoneNumber”:手机号(String),
 “amount”:看房人数(Integer),
 “remark”:备注(String)
 }]
 “continueLoginTimes”:连续登录天数(Integer)，
 “signTimes”:当前项目签到天数(Integer)，
 “activities”:当前参加活动[{
 “activityType”:活动类型(String)，
 “activityName”:活动名称(String),
 }, {}, {}......]
 “attentionedLayouts”:[户型名称]([String]),
 “visitHistories”:[访问历史纪录{
 “visitTime”:访问时间(String),
 “register”:登记人(String)
 }],
 }
 ]
 

 
 */

@interface ImportantCustomer : NSObject
/**
 *  当前参加的活动
 */
@property (nonatomic ,strong)NSArray    *activities;
/**
 *  预约看房信息
 */
@property (nonatomic ,strong)NSArray    *appointmentInfomation;
/**
 *  关注的户型
 */
@property (nonatomic ,strong)NSArray    *attentionedLayouts;
/**
 *  客户头像
 */
@property (nonatomic ,strong)NSString   *avatar;
/**
 *  上次登录的时间
 */
@property (nonatomic ,strong)NSString   *lastLoginTime;
/**
 *  连续登录的天数
 */
@property (nonatomic ,assign)NSInteger  continueLoginTimes;
/**
 *  连续签到的天数
 */
@property (nonatomic ,assign)NSInteger  continueSignTimes;
/**
 *  用户的昵称
 */
@property (nonatomic ,strong)NSString   *nickName;
/**
 *  从业年限
 */
@property (nonatomic ,strong)NSString   *occupation;
/**
 *  性别
 */
@property (nonatomic ,assign)MSex        sex;
/**
 *  用户id
 */
@property (nonatomic ,assign)NSInteger  *userId;
/**
 *  访问历史纪录
 */
@property (nonatomic ,strong)NSArray    *visitHistories;

///**
// *  房屋编号
// */
//@property (nonatomic ,strong)NSString   *houseNumber;
///**
// *  看房人数
// */
//@property (nonatomic ,strong)NSString   *amount;
///**
// *  备注
// */
//@property (nonatomic ,strong)NSString   *remark;
///**
// *  访问时间
// */
//@property (nonatomic ,strong)NSString   *visitTime;
///**
// *  登记人
// */
//@property (nonatomic ,strong)NSString   *gister;
//



@end
